package com.deyinet.bdcms.service;

import com.deyinet.bdcms.core.service.Service;
import com.deyinet.bdcms.core.vo.Page;
import com.deyinet.bdcms.entity.Alarm;
import com.deyinet.bdcms.entity.Devicedata;

import java.sql.Timestamp;
import java.util.Map;

/**
 * Created by Administrator on 2017/10/17 0017.
 */
public interface IAlarmServer extends Service<Alarm> {
    void findByExampleLike(Alarm example, Page<Alarm> page, Timestamp beginTime, Timestamp endTime);
    void flushAlarm(String sn);
    void getAlarmNum(Map<String, Integer> info);
    Map<String, Object> getlastAlarm();
}
